.PHONY: all
all:tcpclient tcpserver

LDFLAG=#-DSelfDefine=1

tcpclient:TcpClientMain.cc
	g++ -o $@ $^ $(LDFLAG) -std=c++14 -lpthread -ljsoncpp
tcpserver:TcpServerMain.cc
	g++ -o $@ $^ $(LDFLAG) -std=c++14 -lpthread -ljsoncpp

.PHONY:clean
clean:
	rm -rf tcpclient tcpserver
